﻿using Spider.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace WebSite
{
    public class SmartApiController : ApiController
    {

        // GET api/<controller>/5
        public SmartObject Get(int id)
        {
            dynamic o = new SmartObject();
            o.ID = 123;
            o.Name = "zhoulq";
            return o as SmartObject;
        }

        // POST api/<controller>
        public void Post(SmartObject obj)
        {
        }

        // PUT api/<controller>/5
        public void Put(SmartObject obj)
        {
        }

        // DELETE api/<controller>/5
        public void Delete(SmartObject obj)
        {
        }
    }
}